package com.mall.book.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mall.book.entity.po.BookCategoryRelationship;
import com.mall.book.mappers.BookCategoryRelationshipMapper;
import com.mall.book.service.BookCategoryRelationshipService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.*;
import java.util.function.Function;

/**
 * Created by Dizziness on 2022/3/25 11:37
 */
@Service
public class BookCategoryRelationshipServiceImpl implements BookCategoryRelationshipService {
    @Autowired
    BookCategoryRelationshipMapper bookCategoryRelationshipMapper;

    @Override
    public boolean saveBatch(Collection<BookCategoryRelationship> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean saveOrUpdateBatch(Collection<BookCategoryRelationship> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean updateBatchById(Collection<BookCategoryRelationship> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean saveOrUpdate(BookCategoryRelationship entity) {
        return false;
    }

    @Override
    public BookCategoryRelationship getOne(Wrapper<BookCategoryRelationship> queryWrapper, boolean throwEx) {
        return null;
    }

    @Override
    public Map<String, Object> getMap(Wrapper<BookCategoryRelationship> queryWrapper) {
        return null;
    }

    @Override
    public <V> V getObj(Wrapper<BookCategoryRelationship> queryWrapper, Function<? super Object, V> mapper) {
        return null;
    }

    @Override
    public BaseMapper<BookCategoryRelationship> getBaseMapper() {
        return bookCategoryRelationshipMapper;
    }

    @Override
    public Class<BookCategoryRelationship> getEntityClass() {
        return BookCategoryRelationship.class;
    }

    @Override
    public List<BookCategoryRelationship> getByMap(HashMap<String, Object> queryMap) {
        return bookCategoryRelationshipMapper.selectByMap(queryMap);
    }
}
